﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TsSite.Master" AutoEventWireup="true" CodeBehind="EditCompletion.aspx.cs" Inherits="TireService.Web.View.ServiceView.EditCompletion" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.1, Version=11.1.12.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register assembly="DevExpress.Web.v11.1, Version=11.1.12.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.12.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.1, Version=11.1.12.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v11.1, Version=11.1.12.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dxe" %>
<%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.12.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxTabControl" TagPrefix="dxtc" %>
<%@ Register assembly="DevExpress.Web.v11.1, Version=11.1.12.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxClasses" tagprefix="dxw" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <script src="../../Scripts/ModalPopup.js" type="text/javascript"></script>

    <table cellpadding="0" cellspacing="2" border="0">
        <tr>
            <td>
                <img id="imgServiceCarScheduleTaskcompletion" alt="" src="~/Images/Medium/gear_ok.png" runat="server" style="width: 32px; height: 32px" />
            </td>
            <td valign="middle">
                <h3><asp:Label ID="lblServiceCarScheduleTaskcompletion" runat="server" Text="Færdigmeld servicekørsel"></asp:Label></h3>
            </td>
            <td>
                <asp:UpdatePanel ID="upMessage" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <table border="0" cellspacing="0" cellpadding="5">
                            <tr>
                                <td>
                                    <div style="font-family: Tahoma; font-size: 9pt; font-weight: normal; color: #f15e34">
                                        &nbsp;<asp:Literal ID="lMessage" runat="server"></asp:Literal>
                                    </div>
                                </td>
                            </tr>
                        </table>          
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
    </table>
    
    <asp:UpdatePanel ID="upActionControls" runat="server">
        <ContentTemplate>            
            <table border="0" cellspacing="0" cellpadding="5" width="100%">
                <tr>
                    <td>
                    </td>
                    <td align="right">
                        <asp:LinkButton ID="lbtnPreviousCustomer" runat="server" Visible="false" 
                            onclick="lbtnPreviousCustomer_Click">Forrige</asp:LinkButton>&nbsp; 
                        <asp:LinkButton ID="lbtnNextCustomer" runat="server" Visible="false" 
                            onclick="lbtnNextCustomer_Click">Næste</asp:LinkButton>
                        <asp:Label ID="lblMultiEdit" runat="server" Text="" Visible="false"></asp:Label>&nbsp;
                    </td>
                </tr>
            </table>          
        </ContentTemplate>
    </asp:UpdatePanel>

    <asp:UpdatePanel ID="upEditCompletion" runat="server">
        <ContentTemplate>
            <table width="100%">
                <tr>
                    <td>
                        <h4>Afmonteret og lagerført hjulsæt</h4>
                        <table>
                            <tr>
                                <td>
                                    <asp:Label ID="lblContainerCargoNumber" runat="server" Text="Lagerplads"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lblContainerCargoNumberValue" runat="server" Text=""></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblFromTirePattern" runat="server" Text="Dækmønster"></asp:Label>
                                </td>
                                <td>
                                    <table>
                                        <tr>
                                            <td>HF:</td>
                                            <td>VF:</td>
                                            <td>HB:</td>
                                            <td>VB:</td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtRF" runat="server" Width="30px">
                                                    <MaskSettings Mask="<0..9>.<00..99>" IncludeLiterals="DecimalSymbol" />
                                                    <ValidationSettings ErrorDisplayMode="ImageWithTooltip" RequiredField-IsRequired="true" />
                                                </dxe:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtLF" runat="server" Width="30px">
                                                    <MaskSettings Mask="<0..9>.<0..9>mm" IncludeLiterals="DecimalSymbol" />
                                                    <ValidationSettings ErrorDisplayMode="ImageWithTooltip" RequiredField-IsRequired="true" />
                                                </dxe:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtRR" runat="server" Width="30px">
                                                    <MaskSettings Mask="<0..9>.<0..9>mm" IncludeLiterals="DecimalSymbol" />
                                                    <ValidationSettings ErrorDisplayMode="ImageWithTooltip" RequiredField-IsRequired="true" />
                                                </dxe:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dxe:ASPxTextBox ID="txtLR" runat="server" Width="30px">
                                                    <MaskSettings Mask="<0..9>.<0..9>mm" IncludeLiterals="DecimalSymbol" />
                                                    <ValidationSettings ErrorDisplayMode="ImageWithTooltip" RequiredField-IsRequired="true" />
                                                </dxe:ASPxTextBox>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblFromTireType" runat="server" Text="Dæktype"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lblFromTireTypeValue" runat="server" Text=""></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblFromTireDimension" runat="server" Text="Dimensioner"></asp:Label>
                                </td>
                                <td>
                                    <table>
                                        <tr>
                                            <td>
                                                <dxe:ASPxComboBox ID="ddlFromWidth" runat="server" Width="50px" DropDownStyle="DropDownList" IncrementalFilteringMode="StartsWith">
                                                    <Items>
                                                        <dxe:ListEditItem value="125,0" />
                                                        <dxe:ListEditItem value="135,0" />
                                                        <dxe:ListEditItem value="140,0" />
                                                        <dxe:ListEditItem value="145,0" />
                                                        <dxe:ListEditItem value="155,0" />
                                                        <dxe:ListEditItem value="165,0" />
                                                        <dxe:ListEditItem value="175,0" />
                                                        <dxe:ListEditItem value="185,0" />
                                                        <dxe:ListEditItem value="195,0" />
                                                        <dxe:ListEditItem value="205,0" />
                                                        <dxe:ListEditItem value="215,0" />
                                                        <dxe:ListEditItem value="225,0" />
                                                        <dxe:ListEditItem value="230,0" />
                                                        <dxe:ListEditItem value="235,0" />
                                                        <dxe:ListEditItem value="245,0" />
                                                        <dxe:ListEditItem value="255,0" />
                                                        <dxe:ListEditItem value="265,0" />
                                                        <dxe:ListEditItem value="275,0" />
                                                        <dxe:ListEditItem value="285,0" />
                                                        <dxe:ListEditItem value="295,0" />
                                                        <dxe:ListEditItem value="305,0" />
                                                        <dxe:ListEditItem value="315,0" />
                                                        <dxe:ListEditItem value="325,0" />
                                                        <dxe:ListEditItem value="335,0" />
                                                        <dxe:ListEditItem value="345,0" />
                                                        <dxe:ListEditItem value="375,0" />
                                                        <dxe:ListEditItem value="600,0" />
                                                    </Items>
                                                </dxe:ASPxComboBox>
                                            </td>
                                            <td>
                                                /
                                            </td>
                                            <td>
                                                <dxe:ASPxComboBox ID="ddlFromHeight" runat="server" Width="50px" DropDownStyle="DropDownList" IncrementalFilteringMode="StartsWith">
                                                    <Items>
                                                        <dxe:ListEditItem value="25,0" />
                                                        <dxe:ListEditItem value="30,0" />
                                                        <dxe:ListEditItem value="35,0" />
                                                        <dxe:ListEditItem value="40,0" />
                                                        <dxe:ListEditItem value="45,0" />
                                                        <dxe:ListEditItem value="50,0" />
                                                        <dxe:ListEditItem value="55,0" />
                                                        <dxe:ListEditItem value="60,0" />
                                                        <dxe:ListEditItem value="65,0" />
                                                        <dxe:ListEditItem value="70,0" />
                                                        <dxe:ListEditItem value="75,0" />
                                                        <dxe:ListEditItem value="80,0" />
                                                        <dxe:ListEditItem value="85,0" />
                                                        <dxe:ListEditItem value="95,0" />
                                                    </Items>
                                                </dxe:ASPxComboBox>
                                            </td>
                                            <td>
                                                <dxe:ASPxComboBox ID="ddlFromSize" runat="server" Width="50px" DropDownStyle="DropDownList" IncrementalFilteringMode="StartsWith">
                                                    <Items>
                                                        <dxe:ListEditItem value="8,0" />
                                                        <dxe:ListEditItem value="9,0" />
                                                        <dxe:ListEditItem value="10,0" />
                                                        <dxe:ListEditItem value="12,0" />
                                                        <dxe:ListEditItem value="13,0" />
                                                        <dxe:ListEditItem value="14,0" />
                                                        <dxe:ListEditItem value="15,0" />
                                                        <dxe:ListEditItem value="16,0" />
                                                        <dxe:ListEditItem value="17,0" />
                                                        <dxe:ListEditItem value="17,5" />
                                                        <dxe:ListEditItem value="18,0" />
                                                        <dxe:ListEditItem value="19,0" />
                                                        <dxe:ListEditItem value="20,0" />
                                                        <dxe:ListEditItem value="21,0" />
                                                        <dxe:ListEditItem value="22,0" />
                                                        <dxe:ListEditItem value="23,0" />
                                                        <dxe:ListEditItem value="24,0" />
                                                        <dxe:ListEditItem value="48,0" />
                                                        <dxe:ListEditItem value="390,0" />
                                                    </Items>
                                                </dxe:ASPxComboBox> 
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblFromTireSpeedIndex" runat="server" Text="Hastighedsindeks"></asp:Label>
                                </td>
                                <td>
                                    <dxe:ASPxComboBox ID="ddlFromTireSpeedIndex" runat="server" DropDownStyle="DropDownList" IncrementalFilteringMode="StartsWith">
                                    </dxe:ASPxComboBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblFromTireLoadIndex" runat="server" Text="Load index"></asp:Label>
                                </td>
                                <td>
                                    <dxe:ASPxComboBox ID="ddlFromTireLoadIndex" runat="server" DropDownStyle="DropDownList" IncrementalFilteringMode="StartsWith">
                                    </dxe:ASPxComboBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblFromTireBrand" runat="server" Text="Mærke"></asp:Label>
                                </td>
                                <td>
                                    <dxe:ASPxComboBox ID="ddlFromTireBrand" runat="server" DropDownStyle="DropDownList" IncrementalFilteringMode="StartsWith">
                                    </dxe:ASPxComboBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblFromTireBrandNote" runat="server" Text="Model variant"></asp:Label>
                                </td>
                                <td>
                                    <dxe:ASPxTextBox ID="txtFromTireBrandNote" runat="server" Width="170px">
                                    </dxe:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblFromLockingBolt" runat="server" Text="Låsebolt"></asp:Label>
                                </td>
                                <td>
                                    <dxe:ASPxCheckBox ID="cbFromLockingBolt" runat="server">
                                    </dxe:ASPxCheckBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblFromHubCaps" runat="server" Text="Hjulkapsler"></asp:Label>
                                </td>
                                <td>
                                    <dxe:ASPxCheckBox ID="cbFromHubCaps" runat="server">
                                    </dxe:ASPxCheckBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblFromRunFlatTire" runat="server" Text="Run flat dæk"></asp:Label>
                                </td>
                                <td>
                                    <dxe:ASPxCheckBox ID="cbFromRunFlatTire" runat="server">
                                    </dxe:ASPxCheckBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblFromRimProtection" runat="server" Text="Kant beskytter"></asp:Label>
                                </td>
                                <td>
                                    <dxe:ASPxCheckBox ID="cbFromRimProtection" runat="server">
                                    </dxe:ASPxCheckBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblFromExtraBolts" runat="server" Text="Ekstra bolte"></asp:Label>
                                </td>
                                <td>
                                    <dxe:ASPxCheckBox ID="cbFromExtraBolts" runat="server">
                                    </dxe:ASPxCheckBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblFromManufactureDate" runat="server" Text="Produktionsdato"></asp:Label>
                                </td>
                                <td>
                                    <dxe:ASPxDateEdit ID="txtFromManufactureDate" runat="server">
                                    </dxe:ASPxDateEdit>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblFromSocketWrenchSize" runat="server" Text="Topnøgle størrelse"></asp:Label>
                                </td>
                                <td>
                                    <dxe:ASPxComboBox ID="ddlFromSocketWrenchSize" runat="server" Width="50px" DropDownStyle="DropDownList" IncrementalFilteringMode="StartsWith">
                                        <Items>
                                            <dxe:ListEditItem value="12" />
                                            <dxe:ListEditItem value="13" />
                                            <dxe:ListEditItem value="14" />
                                            <dxe:ListEditItem value="15" />
                                            <dxe:ListEditItem value="16" />
                                            <dxe:ListEditItem value="17" />
                                            <dxe:ListEditItem value="18" />
                                            <dxe:ListEditItem value="19" />
                                            <dxe:ListEditItem value="20" />
                                            <dxe:ListEditItem value="21" />
                                            <dxe:ListEditItem value="22" />
                                        </Items>
                                    </dxe:ASPxComboBox> 
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Button ID="btnSaveCustomer" runat="server" Text="Gem" 
                            OnClick="btnSaveCustomer_Click" />
                        &nbsp;
                        <asp:Button ID="btnSaveCustomerClose" runat="server" Text="Gem og afslut" 
                            OnClick="btnSaveCustomerClose_Click" />
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
                
    
            
    
</asp:Content>
